package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterMessageRecordDao;
import com.vf.admin.miaodong.entity.AppMessageRecord;
import com.vf.admin.miaodong.service.AfterSystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
/**
 * 系统消息
 */
@Service
public class AfterSystemServiceImpl implements AfterSystemService {
    @Autowired
    private AfterMessageRecordDao afterMessageRecordDao;

    /**
     * 查询列表
     */
    @Override
    public List<AppMessageRecord> findList(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return afterMessageRecordDao.findList(paraMap, splitPage);
    }

    /**
     * 详情
     */
    @Override
    public AppMessageRecord get(Integer id) {
        return afterMessageRecordDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppMessageRecord pojo) {
        afterMessageRecordDao.save(pojo);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        afterMessageRecordDao.del(id);
    }

}
